import request from '@/utils/request'

export default {
  //查询前两条banner数据
  getIndexBanner() {
    return request({
      url: '/index/banner',
      method: 'get'
    })
  },
    //查询最新课程
  getIndexCourse() {
    return request({
      url: '/index/course',
      method: 'get'
    })
  },
  //查询名师大咖
  getIndexTeacher() {
    return request({
      url: '/index/teacher',
      method: 'get'
    })
  }
}
